import React from "react"
import { useState } from "react"
export function Test14() {
    const [msg, setMsg] = useState(0)
    return (
        <div>
            <h1>14.hook-useState</h1>
            {msg}
            <button onClick={() => setMsg(15)}>改变msg</button>
        </div>
    )
}